using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace SWGeneracionE.Models
{
    public partial class Evento
    {
        [Key()]
        [DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public int idEvento { get; set; }
        [Required]
        public string nombre { get; set; }
        [Required]
        public System.DateTime fechaInicio { get; set; }
        [Required]
        public System.DateTime fechaFin { get; set; }
        public Nullable<decimal> costoUSD { get; set; }
        public Nullable<decimal> costoLOC { get; set; }
        public Nullable<int> cupo { get; set; }
        public Nullable<decimal> costoBus { get; set; }
        public Nullable<int> cupoHabitacion { get; set; }
        public string observaciones { get; set; }
        public Nullable<int> idLugar { get; set; }

        public virtual Lugar Lugar { get; set; }
        public virtual ICollection<IngresoRecaudacion> IngresoRecaudacion { get; set; }
        public virtual ICollection<Movimiento> Movimiento { get; set; }
        public virtual ICollection<ParticipanteXEvento> ParticipanteXEvento { get; set; }

    }
}